package com.qxzl.util;

import com.qxzl.model.Clients;
import com.qxzl.model.Services;

import java.util.ArrayList;
import java.util.List;

public  class StaticData {
    public static List<Services> services;
    public static List<Clients> clients;

   static {

      services=new ArrayList<Services>();
//
//       Services services1=new Services("192.168.1","陈胜","8080");
//       Services services2=new Services("192.168.2","吴广","8081");
//       Services services3=new Services("192.168.3","项羽","8082");
//       services.add(services1); services.add(services2); services.add(services3);



       clients=new ArrayList<Clients>();
//
//       Clients clients1=new Clients("192.0.1","赵云","8080",services1);
//       Clients clients2=new Clients("192.0.2","关羽","8081",services2);
//       Clients clients3=new Clients("192.0.3","张飞","8082",services3);
//       Clients clients4=new Clients("192.0.4","刘备","8083",null);

//       clients.add(clients1);clients.add(clients2);clients.add(clients3);clients.add(clients4);





   }

}
